package ${(packageStr)!''}.service;

import java.util.List;
import ${(packageStr)!''}.domain.${(beanName)!''};
import ${(packageStr)!''}.query.${(beanName)!''}Query;

public interface ${(beanName)!''}Service
{

    public ${(beanName)!''} select${(beanName)!''}ById(Long ${keyColumn.columnName});


    public List<${(beanName)!''}> select${(beanName)!''}List(${(beanName)!''}Query ${(beanParam)!''}Query);


    public int insert${(beanName)!''}(${(beanName)!''} ${(beanParam)!''});


    public int update${(beanName)!''}(${(beanName)!''} ${(beanParam)!''});


    public int delete${(beanName)!''}ById(Long ${keyColumn.columnName});


    public int delete${(beanName)!''}ByIds(Long[] ${keyColumn.columnName}s);
    }
